package org.dru.clay.respository.transport;

import java.io.File;
import java.net.URI;
import java.util.List;

public interface Transport {
	FileInfo get(URI file);

	void get(URI file, File destination);

	void getIfNewer(URI file, File destination);

	void put(File source, URI destination);

	List<URI> list(URI directory);
	
	void cleanup();
}
